<{include file="section/admin/admin_header.tpl"}>
<body>
<{include file="section/admin/admin_header_login_bar.tpl"}>
<div id="contentA" class="clear" style="width:1300px;">
	<!--leftsidebar sr-->
	<{include file="section/admin/admin_left_sidebar.tpl"}>
    <!--/leftsidebar end-->
    <div class="rightCont">
    	<!--path st-->
		<div class="path">您的位置：<a href="/">首页</a>&gt; 首页广告位编辑</div>
		<!--/path end-->
		
    	<h2 class="title01"><span>首页广告位编辑</span></h2>

	<div>
		<a href="/home/index/hotsale"><span <{if $position == 'hotsale'}>style="color:red;"<{/if}>>右侧促销位</a> </span>&nbsp;&nbsp;
		<a href="/home/index/picture"><span <{if $position == 'picture'}>style="color:red;"<{/if}>>首页轮播图</a>
		</span>&nbsp;&nbsp;
		<a href="/home/index/recommendbrand"><span <{if $position == 'recommendbrand'}>style="color:red;"<{/if}>>推荐品牌</a> </span>&nbsp;&nbsp;
		 <a href="/home/index/brand" ><span <{if $position == 'brand'}>style="color:red;"<{/if}>>品牌旗舰店</a></span> &nbsp;&nbsp; 
		 <a href="/home/index/first" ><span <{if $position == 'first'}>style="color:red;"<{/if}>>精品家具</a> </span>&nbsp;&nbsp;
		 <a href="/home/index/one" ><span <{if $position == 'one'}>style="color:red;"<{/if}>>一楼分类</a> </span>&nbsp;&nbsp;
		 <a href="/home/index/third" ><span <{if $position == 'third'}>style="color:red;"<{/if}>>家纺家饰</a> </span>&nbsp;&nbsp;
		 <a href="/home/index/two" ><span <{if $position == 'two'}>style="color:red;"<{/if}>>二楼分类</a> </span>&nbsp;&nbsp;
		 <a href="/home/index/four" ><span <{if $position == 'four'}>style="color:red;"<{/if}>>陶瓷卫浴</a> </span>&nbsp;&nbsp;
		 <a href="/home/index/three" ><span <{if $position == 'three'}>style="color:red;"<{/if}>>三楼分类</a> </span>&nbsp;&nbsp;
		 <a href="/home/index/second" ><span <{if $position == 'second'}>style="color:red;"<{/if}>>家装建材</a> </span>&nbsp;&nbsp;
		 <a href="/home/index/fous" ><span <{if $position == 'fous'}>style="color:red;"<{/if}>>四楼分类</a> </span>&nbsp;&nbsp;
		 <a href="/home/index/help" ><span <{if $position == 'help'}>style="color:red;"<{/if}>>尾部修改</a> </span>&nbsp;&nbsp;
		 <a href="/home/index/hotshop" ><span <{if $position == 'hotshop'}>style="color:red;"<{/if}>>热销商铺</a> </span>&nbsp;&nbsp;
		 <a href="/home/index/list_advert" ><span <{if $position == 'list_advert'}>style="color:red;"<{/if}>>商品列表页广告</a> </span>&nbsp;&nbsp;
        <a href="/home/index/street" ><span <{if $position == 'street'}>style="color:red;"<{/if}>>新品牌入住</a> </span>&nbsp;&nbsp;
		 <a href="/home/index/newbrand" ><span <{if $position == 'newbrand'}>style="color:red;"<{/if}>>品牌推荐</a> </span>&nbsp;&nbsp;</div>
		 <div class="line1"></div>
		<div class="boxform">
		<form action="/home/add" method="post" name="frm" id="frm">
		<input type="hidden" name="position" value="<{$position}>" />
		<input type="hidden" name="action_name" id="action_name" value="" />
		<{$fck_html}>

		<input class="btn04" type="button" name="onsubmit" value="保存" onclick="goto_sumbit('save')"/> 
		<input class="btn04" type="button" name="onsubmit" value="预览" onclick="goto_sumbit('view')"/>

		</from>
		</div>
        
    </div>
</div>
<script>
var frm	= document.getElementById("frm");

function goto_sumbit(name)
{

	if(name)
	{
		document.getElementById("action_name").value = name;

		frm.submit();

		return true;
	}

	alert("参数错误！");

	return false;
}
</script>
</body>
</html>
